Skip to content

Commit 9d3b7d4

Browse files
committed
TRACE info is updated
1 parent f43f3c2 commit 9d3b7d4

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Launcher.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,12 @@ SERVICE_REGISTRATION(Launcher, 1, 0);
9797

9898
time = Time(config.ScheduleTime.Time.Value());
9999
if (time.IsValid() != true) {
100-
SYSLOG(Trace::Warning, (_T("Time format is wrong")));
100+
SYSLOG(Trace::Fatal, (_T("Time format is wrong")));
101101
}
102102

103103
interval = Time(config.ScheduleTime.Interval.Value());
104104
if (interval.IsValid() != true) {
105-
SYSLOG(Trace::Warning, (_T("Interval format is wrong")));
105+
SYSLOG(Trace::Fatal, (_T("Interval format is wrong")));
106106
}
107107
}
108108

Launcher.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ class Launcher : public PluginHost::IPlugin {
425425

426426
//Check all the time components are still valid
427427
if ((hour != static_cast<uint8_t>(~0) && second != static_cast<uint8_t>(~0)) && (minute == static_cast<uint8_t>(~0))) {
428-
TRACE(Trace::Information, (_T("Invalid time format")));
428+
TRACE_L1(_T("Invalid time format: the given format is HH:.SS"));
429429
}
430430
else { //Update time components
431431
_hour = hour;

0 commit comments

Comments
 (0)