Skip to content

Commit

Permalink
dfmc-environment-projects: build-project: add type to error-handler (#…
Browse files Browse the repository at this point in the history
…1573)

`error-handler` is required to be a function since it's passed to
`project-condition-handler` via `with-project-location-handler`. (Took
me a while to track down given the backtrace doesn't help much when
there's an error in the error handler.)
  • Loading branch information
cgay authored Mar 11, 2024
2 parents 2b40f65 + 84f74b4 commit 55d3fe3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sources/environment/dfmc/projects/projects.dylan
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,8 @@ define sealed method build-project
abort-on-all-warnings? = #f,
abort-on-serious-warnings? = #f,
warning-callback :: false-or(<function>),
progress-callback :: false-or(<function>), error-handler,
progress-callback :: false-or(<function>),
error-handler :: <function>,
save-databases? = #f,
process-subprojects? = #t,
messages = #"external")
Expand Down

0 comments on commit 55d3fe3

Please sign in to comment.