File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
json_config_file/json_properties Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ static func _error_as_text(error: Dictionary) -> String:
202202 Errors .IMAGE_WRONG_SIZE :
203203 error_as_text = MESSAGE_IMAGE_WRONG_SIZE % [error .expected_size [0 ], error .expected_size [1 ]]
204204 _ :
205- error_as_text = "This error message is not defined"
205+ error_as_text = error . error
206206 else :
207207 error_as_text = "This error message is not defined"
208208
@@ -227,7 +227,7 @@ static func _warning_as_text(warning: Dictionary) -> String:
227227 Warnings .IMAGE_WRONG_SIZE :
228228 warning_as_text = MESSAGE_IMAGE_WRONG_SIZE % [warning .expected_size [0 ], warning .expected_size [1 ]]
229229 _ :
230- warning_as_text = "This warning message is not defined"
230+ warning_as_text = warning . warning
231231 else :
232232 warning_as_text = "This warning message is not defined"
233233
You can’t perform that action at this time.
0 commit comments