We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06f39f1 commit cf94798Copy full SHA for cf94798
src/jobs/logging-legacy.jl
@@ -1,7 +1,7 @@
1
struct _LegacyLogging <: _JobLoggingAPIVersion end
2
3
function JobLogMessage(::_LegacyLogging, json::Dict, offset::Integer)
4
- message = _get_json(json, "message", String)
+ message = _get_json_or(json, "message", String, "")
5
keywords = _get_json_or(json, "keywords", Dict, Dict{String, Any}())
6
metadata = _get_json_or(json, "metadata", Dict, Dict{String, Any}())
7
timestamp = if haskey(json, "timestamp")
0 commit comments