Benny Joo and GitHub
d50e1a0e15
feat: Leverage ErrorCode cases for correct error codes in server responses ( #22023 )
...
* Leverage ErrorCode cases for correct error codes in server responses
* better test
* fix
2025-06-25 13:18:01 -07:00
Udit Takkar and GitHub
aaa39cccf8
chore: update status code ( #20443 )
...
* chore: update status code
* chore: update status code
* fix: error unhandled
2025-04-01 10:08:14 -03:00
Benny Joo and GitHub
4d45aa1564
perf: Do not import Stripe lib in getServerErrorFromUnknown ( #19578 )
...
* Do not import stripe lib in getServerErrorFromUnknown
* address comment
* remove comment
* add url
* keep the location
* remove space
* add unit test for getServerErrorFromUnknown
* improve
2025-02-27 15:22:23 +00:00
Omar López and GitHub
1fd4c3fd4c
refactor: Specific error status codes ( #18847 )
2025-01-24 07:09:54 +00:00
1af3caa8cc
refactor: better observability in api routes ( #18810 )
...
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
2025-01-22 20:52:09 +00:00
Alex van Andel and GitHub
cf6654dd1f
Extract some refactor work from util.ts to improve error handling ( #17912 )
2024-12-02 19:06:45 +00:00
Alex van Andel and GitHub
a95729f4a1
chore: Couple fixes to improve error reporting ( #16895 )
...
* chore: Couple fixes to improve error reporting
* tweak: Fix error message
* refactor: Use findUniqueOrThrow instead of guard
* fix: Broken test, missing ID - suspect it passes because only one record exists
* chore: Minor refactor to split ZodEffect from ZodType
* fix: Satify typescript
2024-10-01 09:18:51 -03:00
0a39f53a4b
fix(stripePaymentCallback): better errors ( #12223 )
...
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
2023-11-16 08:48:46 +00:00
a804a29516
feat: Stripe paid apps flow ( #12103 )
...
* chore: Stripe paid apps flow
* chore: Subscription
* chore: Webhooks
* chore: Abstract functions
* chore: Lockfile
* chore: Webhook handler
* chore: Use catch-all
* chore: Webhook changes, etc
* chore: Cleanup
* chore: Use actual price id
* chore: Updates
* chore: Install normally until expiry date
* Disable team install for paid apps and cal.ai\
* Fix the same at another place
* Fix Typescript error
* redactedCause doesnt have message has enumerable prop
* Fix reinstallation of an already installed app
* chore: Remove unused deps
* chore: Ensure index
* chore: Price in usd
* chore: PR suggestion
* Fix missing packages in yarn.lock
---------
Co-authored-by: Hariom <hariombalhara@gmail.com >
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
2023-11-15 09:29:41 -03:00
Hariom Balhara and GitHub
5491821baf
fix: Redact prisma errors ( #10536 )
2023-08-03 16:22:38 +01:00
2529f71770
Upgrade prisma to 4.11.0 version ( #7438 )
...
* Upgrade prisma to 4.11.0 version
* Update yarn.lock
* Syncs packages
* Update yarn.lock
* Removes deprecations
---------
Co-authored-by: zomars <zomars@me.com >
2023-02-28 14:15:50 -07:00
Omar López and GitHub
7c749299bb
Enforces explicit type imports ( #7158 )
...
* Enforces explicit type imports
* Upgrades typescript-eslint
* Upgrades eslint related dependencies
* Update config
* Sync packages mismatches
* Syncs prettier version
* Linting
* Relocks node version
* Fixes
* Locks @vitejs/plugin-react to 1.3.2
* Linting
2023-02-16 15:39:57 -07:00
zomars
9b980b3b85
Better handling of customInput error messages
2022-10-14 16:45:40 -06:00
58c4c894fd
fix: update rejectOnNotFound -> find(Fist|Unique)OrThrow ( #3829 )
...
* fix: update rejectOnNotFound -> find(Fist|Unique)OrThrow
* fix: add back custom errohandling
* feat: handle notfounderror in getServerErrorFromUnknown
Co-authored-by: Agusti Fernandez Pardo <git@agusti.me >
Co-authored-by: Omar López <zomars@me.com >
2022-08-31 13:44:47 -06:00
alannnc and GitHub
3527c5126a
Added Syntax error case and also default error returning ( #4015 )
2022-08-29 18:05:35 -06:00
d1d467d28d
Fix a typo in the server lib ( #3439 )
...
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
2022-07-20 13:34:17 +00:00