browser: include stacktrace in error messages