pf2e
pf2e copied to clipboard
Rethrow migration exceptions with added information
This is already caught at an outer scope
The current error is something like this:
Error thrown while migrating Actor.L0pXT0ba2Ovsjir9: Cannot read properties of undefined (reading 'flags')
Which isn't very helpful to locate where the error actually occured.
What additional details does the example screenshot have?
The MigrationRunner
method the error occured in, the Migration
version to identify the actual migration that failed and the Migration
method the error occured in.
It's already obvious that a failed actor or item migration is from one of those two methods, and the screenshot doesn't show the migration number.
Oh, my bad: I see the number!
Lose everything but the version number, got it. 😄
Error thrown while migrating Actor.sJE82Ad2HKyKAB4k: Migration 0.915: Cannot read properties of
undefined (reading 'value')