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
afe09693
Commit
afe09693
authored
Jun 16, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
return if error occours
parent
0e6593f7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
debomatic-webui/lib/tail.js
debomatic-webui/lib/tail.js
+1
-0
No files found.
debomatic-webui/lib/tail.js
View file @
afe09693
...
@@ -10,6 +10,7 @@ Tail.prototype.watchEvent = function (e) {
...
@@ -10,6 +10,7 @@ Tail.prototype.watchEvent = function (e) {
return
fs
.
stat
(
this
.
filename
,
function
(
err
,
stats
)
{
return
fs
.
stat
(
this
.
filename
,
function
(
err
,
stats
)
{
if
(
err
)
{
if
(
err
)
{
_this
.
emit
(
'
error
'
,
err
);
_this
.
emit
(
'
error
'
,
err
);
return
;
}
}
if
(
stats
.
size
<
_this
.
pos
)
{
if
(
stats
.
size
<
_this
.
pos
)
{
_this
.
pos
=
stats
.
size
;
_this
.
pos
=
stats
.
size
;
...
...
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