From 82f8eef31a2f483a79bf4c6f9a8fcffceb559586 Mon Sep 17 00:00:00 2001 From: Jarrett Revels Date: Tue, 9 Aug 2016 07:24:47 -0400 Subject: [PATCH] fix typo in error handling (#11) --- src/server.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server.jl b/src/server.jl index e5c6314..99de779 100644 --- a/src/server.jl +++ b/src/server.jl @@ -65,7 +65,7 @@ function Base.run(server::Server, args...; kwargs...) remotecall_fetch(run, node, job) nodelog(server.config, node, "completed job: $(summary(job))") catch err - err_str = string(error) + err_str = string(err) message = "Something went wrong when running [your job]($(submission(job).url)): `$(err_str)`\n" if typeof(err) <: NanosoldierError if isempty(err.url)