Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
debomatic-webui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
debomatic-webui-admins
debomatic-webui
Commits
415bc507
Commit
415bc507
authored
Sep 23, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
handling error messages as string
parent
8acef892
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
debomatic-webui/lib/utils.coffee
debomatic-webui/lib/utils.coffee
+6
-2
No files found.
debomatic-webui/lib/utils.coffee
View file @
415bc507
...
@@ -109,8 +109,12 @@ watch_path_onsocket = (event_name, socket, data, watch_path, callback) ->
...
@@ -109,8 +109,12 @@ watch_path_onsocket = (event_name, socket, data, watch_path, callback) ->
errors_handler
=
(
from
,
err
,
socket
)
->
errors_handler
=
(
from
,
err
,
socket
)
->
from
=
"NO SOCKET: "
+
from
unless
socket
from
=
"NO SOCKET: "
+
from
unless
socket
console
.
error
from
,
err
.
message
if
err
.
message
?
socket
.
emit
config
.
events
.
error
,
err
.
message
if
socket
msg
=
err
.
message
else
msg
=
err
console
.
error
from
,
msg
socket
.
emit
config
.
events
.
error
,
message
if
socket
return
return
Tail
::
watchEvent
=
(
e
)
->
Tail
::
watchEvent
=
(
e
)
->
...
...
Write
Preview
Markdown
is supported
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