Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
dcdb
dcdb
Commits
604afce4
Commit
604afce4
authored
Apr 13, 2016
by
Michael Ott
Browse files
Write error messages to stderr and not stdout
parent
c7d9680d
Changes
1
Hide whitespace changes
Inline
Side-by-side
DCDBLib/src/virtualsensor.cpp
View file @
604afce4
...
...
@@ -219,7 +219,7 @@ int64_t VSensorExpressionImpl::physicalSensorInterpolator(Connection* connection
readingBefore
.
value
=
(
int64_t
)
value
;
}
else
{
std
::
c
out
<<
"Cannot find reading for sensor "
<<
sensor
.
name
<<
" prior to time "
<<
t
.
getString
()
<<
"("
<<
t
.
getRaw
()
<<
")"
<<
std
::
endl
;
std
::
c
err
<<
"Cannot find reading for sensor "
<<
sensor
.
name
<<
" prior to time "
<<
t
.
getString
()
<<
"("
<<
t
.
getRaw
()
<<
")"
<<
std
::
endl
;
}
cass_iterator_free
(
rows
);
cass_result_free
(
cresult
);
...
...
@@ -265,7 +265,7 @@ int64_t VSensorExpressionImpl::physicalSensorInterpolator(Connection* connection
readingAfter
.
value
=
(
int64_t
)
value
;
}
else
{
std
::
c
out
<<
"Cannot find reading for sensor "
<<
sensor
.
name
<<
" following time "
<<
t
.
getString
()
<<
"("
<<
t
.
getRaw
()
<<
")"
<<
std
::
endl
;
std
::
c
err
<<
"Cannot find reading for sensor "
<<
sensor
.
name
<<
" following time "
<<
t
.
getString
()
<<
"("
<<
t
.
getRaw
()
<<
")"
<<
std
::
endl
;
}
cass_iterator_free
(
rows
);
cass_result_free
(
cresult
);
...
...
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