Skip to content

Commit

Permalink
Wut?
Browse files Browse the repository at this point in the history
  • Loading branch information
horcsinbalint committed Dec 29, 2024
1 parent e3e942b commit a05f8e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Models/Printer.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function print(bool $twoSided, int $copies, string $path)
. print_r($result, true));
throw new PrinterException($result);
}
$jobId = intval($matches[1]);
$jobId = $matches[1];
} catch (\Exception $e) {
Log::error("Printing error at line: " . __FILE__ . ":" . __LINE__ . " (in function " . __FUNCTION__ . "). " . $e->getMessage());
throw new PrinterException($e->getMessage(), $e->getCode(), $e->getPrevious());
Expand Down

0 comments on commit a05f8e4

Please sign in to comment.