Error's updated with stack trace in debug mode