Fix order of logging scene group loading errors

This commit is contained in:
KingRainbow44 2023-04-10 23:44:22 -04:00
parent 06cbae31fa
commit 54b7d1251e
No known key found for this signature in database
GPG Key ID: FC2CB64B00D257BE

View File

@ -430,7 +430,7 @@ public class SceneScriptManager {
} catch (IOException ignored) { } catch (IOException ignored) {
Grasscutter.getLogger().error("Scene {} unable to load grid file.", getScene().getId()); Grasscutter.getLogger().error("Scene {} unable to load grid file.", getScene().getId());
} catch (Exception e) { } catch (Exception e) {
Grasscutter.getLogger().error("Scene {} unable to load grid file.", e, getScene().getId()); Grasscutter.getLogger().error("Scene {} unable to load grid file.", getScene().getId(), e);
} }
boolean runForFirstTime = this.groupGrids == null; boolean runForFirstTime = this.groupGrids == null;