Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csbase-dev
sgarest-daemon
Commits
54cfb450
Commit
54cfb450
authored
Apr 01, 2020
by
Renato Figueiro Maia
Browse files
[SOMA-4165][SOMA-3997] Melhorar mensagem de tentativa de reconexão.
parent
7d23b7e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
sga/client.lua
View file @
54cfb450
...
...
@@ -99,7 +99,8 @@ local Client = safer.readonly {
}),
})
if
not
response
then
self
.
logger
:
error
(
err
)
err
=
err
:
gsub
(
"^
[^
:
]
+:%d+: "
,
""
)
self
.
logger
:
error
(
"Unable to register to "
..
self
.
config
.
csbase_server
..
": "
..
err
)
self
.
logger
:
info
(
"Will retry..."
)
util_sleep
(
self
.
config
.
register_retry_s
)
end
...
...
sga/driver/posix.lua
View file @
54cfb450
...
...
@@ -39,7 +39,7 @@ function posix.execute_command(self, job, cmd_string, user_token)
if
not
ok
then
local
attr
=
lfs
.
attributes
(
sandbox_path
)
if
not
(
attr
and
attr
.
mode
==
"directory"
)
then
return
nil
,
"Failed creating job's sandbox "
..
sandbox_path
return
nil
,
"Failed creating job's sandbox "
..
sandbox_path
..
": "
..
err
end
end
end
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment