Improve error diagnostic in driver init
This commit is contained in:
4
test.erl
4
test.erl
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user