Skip to content

Commit

Permalink
cohupts: Improved fault message
Browse files Browse the repository at this point in the history
  • Loading branch information
DougLau committed Jan 28, 2025
1 parent af35f3f commit afc630d
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* IRIS -- Intelligent Roadway Information System
* Copyright (C) 2016-2023 Minnesota Department of Transportation
* Copyright (C) 2016-2025 Minnesota Department of Transportation
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -133,7 +133,8 @@ protected byte[] getCommand() throws ProtocolException {
case CAMERA_WIPER_ONESHOT:
return CMD_WIPER_TOGGLE;
default:
throw new ProtocolException("INVALID DEVICE REQ");
throw new ProtocolException(
"INVALID DEVICE REQ: " + req);
}
}

Expand Down

0 comments on commit afc630d

Please sign in to comment.