Improve error diagnostic in driver init

This commit is contained in:
sergey-miryanov
2010-02-11 14:41:55 +05:00
parent 27169869c0
commit cd10c3eea0
4 changed files with 6 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env escript
%%! -smp enable -pa ebin -name testsqlite3
%%! -smp enable -pa ebin -sname testsqlite3
-record(user, {name, age, wage}).
@@ -27,4 +27,4 @@ main(_) ->
catch
Class:Error ->
io:format("~p:~p:~p~n", [Class, Error, erlang:get_stacktrace()])
end.
end.