Open amir-rahnama opened 8 years ago
I think it's essential to be able to check where migration error happens in the script. Right now, that's how it is displayed:
[rethink-migrate] Connecting to database [rethink-migrate] Connected [rethink-migrate] Migration failed [SyntaxError: Unexpected token }]
Maybe the call stack should be in the output with the line numbers?
Are you running the latest version? I get full stack traces of all errors since https://github.com/JohanObrink/rethink-migrate/commit/b496b7f365d48e548fb4fa5f1c5c1d1aeaafee0d
I think it's essential to be able to check where migration error happens in the script. Right now, that's how it is displayed:
[rethink-migrate] Connecting to database [rethink-migrate] Connected [rethink-migrate] Migration failed [SyntaxError: Unexpected token }]
Maybe the call stack should be in the output with the line numbers?