Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
0b9cab5a
Commit
0b9cab5a
authored
Oct 07, 2022
by
AnimeGitB
Browse files
Don't need full Java stacktrace on Lua errors
parent
dd6e1bb8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/scripts/ScriptLoader.java
View file @
0b9cab5a
...
...
@@ -131,7 +131,7 @@ public class ScriptLoader {
scriptsCache
.
put
(
path
,
new
SoftReference
<>(
script
));
return
script
;
}
catch
(
Exception
e
)
{
Grasscutter
.
getLogger
().
error
(
"Loading script {} failed!"
,
path
,
e
);
Grasscutter
.
getLogger
().
error
(
"Loading script {} failed!
- {}
"
,
path
,
e
.
getLocalizedMessage
()
);
return
null
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment