Skip to content

Commit

Permalink
Better debugging message
Browse files Browse the repository at this point in the history
  • Loading branch information
mantas-done committed Feb 13, 2024
1 parent 9aee15f commit 55fd0c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Code/Converters/StlConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ protected static function doesLineHaveTimestamp($line)
protected static function toStlTime($seconds)
{
if ($seconds >= 86400) {
throw new \Exception('conversion function doesnt support more than 1 day, edit the code');
throw new \Exception('conversion function doesnt support more than 1 day, edit the code ' . $seconds);
}

$milliseconds = $seconds - (int)$seconds;
Expand Down

0 comments on commit 55fd0c6

Please sign in to comment.