You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/advanced-features/build-tasks.md
+21Lines changed: 21 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -152,3 +152,24 @@ class MyServiceProvider extends ServiceProvider
152
152
}
153
153
}
154
154
```
155
+
156
+
## Error handling
157
+
158
+
If an exception is thrown in a build task, the build command will catch it and display the error message to the user.
159
+
160
+
## Helper methods
161
+
162
+
### Output helpers
163
+
164
+
When a build task is called by the site build command, it gets access to the Laravel and Symfony console output helpers through the `$output` property.
0 commit comments