immich/server
Brandon Wees d71c5602c3
fix(server): Postgres error pretty printing (#17204)
* add patch-package to dev dependencies

this allows us to patch upstream packages without waiting for PRs to be merged (or not!). Patch-package does a pretty good job of notifying if upstream does a change to invalidate the patch (its a git patch under the hood).

* Patch implementation of https://github.com/porsager/postgres/pull/944

This PR has not been merged by upstream and helps produce verbose error messages when postgres fails to connect (usually incorrect credentials). This is in contrast to error messages such as

`TypeError: Cannot read properties of undefined (reading 'replace'), stack: TypeError: Cannot read properties of undefined (reading 'replace')`

* have postinstall only run when not installing a global package (such as immich-cli in the Docker build)
2025-03-31 09:34:43 -05:00
..
bin feat(server): add Bash healthcheck script (#14704) 2024-12-16 15:19:18 +00:00
patches fix(server): Postgres error pretty printing (#17204) 2025-03-31 09:34:43 -05:00
resources feat: use immich hosted map tiles (#11332) 2024-07-26 15:41:09 +01:00
src feat(server): consider JpgFromRaw2 tag for embedded previews (#17123) 2025-03-31 09:17:57 -05:00
test test: fix flaky user handle delete check medium test (#17253) 2025-03-31 13:19:57 +01:00
.gitignore feat(web): re-add open graph tags for public share links (#5635) 2023-12-11 13:37:47 -06:00
.nvmrc chore(deps): update node.js to v22.14.0 (#16132) 2025-02-15 21:29:33 -06:00
.prettierignore refactor: migrate map repository to kysely (#15348) 2025-01-17 09:14:42 -06:00
.prettierrc fix(server): lint import order (#3974) 2023-09-04 21:45:59 +02:00
Dockerfile chore(deps): update base-image to v202503251114 (major) (#17085) 2025-03-25 20:15:02 +00:00
eslint.config.mjs chore: finish migrating eslint config files; bump unicorn (#17200) 2025-03-31 12:18:25 +01:00
nest-cli.json chore(server): enable swagger to take class validator rules into account (#9022) 2024-04-22 18:13:44 -04:00
package-lock.json fix(server): Postgres error pretty printing (#17204) 2025-03-31 09:34:43 -05:00
package.json fix(server): Postgres error pretty printing (#17204) 2025-03-31 09:34:43 -05:00
start.sh fix(server): add ld_library_path in start.sh (#13686) 2024-10-22 18:41:59 -04:00
tsconfig.build.json fix: exclude e2e format (#3250) 2023-07-13 21:41:16 -05:00
tsconfig.json refactor(server): use kysely (#12857) 2025-01-09 11:15:41 -05:00