Skip to content

Commit 27f4ef8

Browse files
SeaOtocinclusfacebook-github-bot
authored andcommitted
{BugFix} Fix log SensorData::getTimeNs for invalid time domain
Summary: Fix log when an invalid time domain is specified Reviewed By: YLouWashU Differential Revision: D74480283 fbshipit-source-id: 270db84b0d776890a6027f03070ebc4d52133744
1 parent d459e5c commit 27f4ef8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/data_provider/SensorData.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ int64_t SensorData::getTimeNs(TimeDomain timeDomain) const {
146146
}
147147
return -1;
148148
case TimeDomain::Count:
149-
checkAndThrow(false, "Invalid time domain {}TimeDomain::Count");
149+
checkAndThrow(false, "Invalid time domain: TimeDomain::Count");
150150
break;
151151
}
152152
return -1;

0 commit comments

Comments
 (0)