Add traceback printing on error

Close #150