FeatureFuel
1

Unable to customize trigger function exception error

Source: supabase/supabase#28129 · opened by @saqibameen
Describe the problem


I create signedUploadUrl and then allow user to upload files. Post upload, I use trigger function to do some validations are operations. If something goes wrong, I raise an exception something like this:



It gives error something like this:



To Reproduce


1. create trigger on upload in buck that raises an exception
2. upload a file

Expected behavior


This error is user facing. Allow customization of this error so that I can send a better error message.

System information


• OS: macOS
• Version of supabase-js: 2.44.4

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests