~rdoering/ubuntu/karmic/erlang/fix-535090

« back to all changes in this revision

Viewing changes to lib/percept/src/percept.erl

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-02-15 16:42:52 UTC
  • mfrom: (3.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090215164252-q5x4rcf8a5pbesb1
Tags: 1:12.b.5-dfsg-2
Upload to unstable after lenny is released.

Show diffs side-by-side

added added

removed removed

Lines of Context:
234
234
            io:format("    ~p created processes.~n", [length(percept_db:select({information, procs}))]),
235
235
            io:format("    ~p opened ports.~n", [length(percept_db:select({information, ports}))]),
236
236
            ok;
237
 
        {'DOWN',Ref, process, Pid, normal} -> 
238
 
            parse_and_insert_loop(Filename, Pid, Ref, DB, T0);
239
 
        {'DOWN',Ref, process, Pid, Reason} -> 
240
 
            {error, Reason};
241
 
        Unhandled ->
242
 
            io:format("percept:analyze, receive unhandled ~p ~n", [Unhandled]),
243
 
            {error, Unhandled}
 
237
        {'DOWN',Ref, process, Pid, normal} -> parse_and_insert_loop(Filename, Pid, Ref, DB, T0);
 
238
        {'DOWN',Ref, process, Pid, Reason} -> {error, Reason}
244
239
    end.
245
240
 
246
241
mk_trace_parser(Pid) ->