mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-08 00:03:07 +00:00
fix: surface postgres error detail when datatable migrations fail to run
This commit is contained in:
@@ -4999,8 +4999,10 @@ export async function push(
|
||||
yes: opts.yes,
|
||||
jsonOutput: opts.jsonOutput,
|
||||
});
|
||||
} catch (e) {
|
||||
log.warn(`Failed to run new datatable migrations: ${e}`);
|
||||
} catch (e: any) {
|
||||
log.warn(
|
||||
`Failed to run new datatable migrations: ${e?.body ?? e?.message ?? e}`,
|
||||
);
|
||||
}
|
||||
if (opts.jsonOutput) {
|
||||
const result = {
|
||||
|
||||
Reference in New Issue
Block a user