Skip to content

Commit

Permalink
fix debug disabled regression
Browse files Browse the repository at this point in the history
  • Loading branch information
gwleuverink committed Jan 16, 2024
1 parent 1c47d97 commit 9280606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Exceptions/BundlingFailedException.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function __construct(ProcessResult $result, $script = null)
);

// TODO: Consider different approach for providing contextual debug info
if (app()->isLocal()) {
if (app()->isLocal() && config()->get('app.debug')) {
dump(['error output', $result->errorOutput()]);
}
}
Expand Down

0 comments on commit 9280606

Please sign in to comment.