Skip to content

Commit

Permalink
more legible error
Browse files Browse the repository at this point in the history
  • Loading branch information
VanWeapon committed Jan 1, 2025
1 parent 7dcfef1 commit b03780f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/JsonFileListLoader/JsonFileListLoader.gml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ function JsonFileListLoader() constructor {
// debugl($"Successfully loaded {property} value from {relative_file_path}");
} catch (_ex) {
debugl($"Could not properly parse file at {file_path}: {_ex}.");
scr_popup("Error Parsing JSON File", $"Could not properly parse file at {file_path}: {_ex}", "debug");
scr_popup("Error Parsing JSON File", $"Could not properly parse file: #{file_path}.# Please check this file for typos or formatting errors.# # Full error message:# {_ex}", "debug");
result.value = {}; // do not return incomplete/invalid data
} finally {
if (is_undefined(file_buffer) == false && file_buffer != -1) {
Expand Down

0 comments on commit b03780f

Please sign in to comment.