Enhance error device data no data error message.

Fixes #13.
This commit is contained in:
Starbeamrainbowlabs 2019-02-23 20:28:45 +00:00
parent 415126000b
commit 0d3f55fc6a
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ class DeviceData implements IAction {
http_response_code(404);
header("content-type: text/plain");
header("x-time-taken: " . PerfFormatter::format_perf_data($start_time, $start_handle, null));
echo("Error: No data has been recorded from the device id or it doesn't exist.");
echo("Error: No data has been recorded from the device id for that measurement type in the selected time scale or it doesn't exist.");
return false;
}