fixed service crash
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m2s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m2s
This commit is contained in:
parent
bca04f2881
commit
e374f2e339
4 changed files with 25 additions and 37 deletions
|
|
@ -214,6 +214,7 @@ export class OrganizationController extends Controller {
|
|||
await sendToQueueOrgDraft(msg);
|
||||
return new HttpSuccess("Draft is being created... Processing in the background.");
|
||||
} catch (error: any) {
|
||||
console.error("Error creating draft organization:", error);
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
|
|
@ -2529,6 +2530,7 @@ export class OrganizationController extends Controller {
|
|||
await sendToQueueOrg(msg);
|
||||
return new HttpSuccess();
|
||||
} catch (error: any) {
|
||||
console.error("Error publishing draft organization:", error);
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue