Skip to content

Commit

Permalink
fix: preload env variables when initing sentry (#10602)
Browse files Browse the repository at this point in the history
  • Loading branch information
kewitz authored Jan 1, 2025
1 parent 771d2e2 commit 3dddddb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/cron.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ TZ=utc

for FILE in `ls $FILE_PATH`; do
echo "Running $BIN $FILE_PATH$FILE";
"$BIN_PATH/$BIN" ${BIN_OPTIONS} -r "./server/lib/sentry/init.ts" "$FILE_PATH$FILE";
"$BIN_PATH/$BIN" ${BIN_OPTIONS} -r "@sentry/node/preload" "$FILE_PATH$FILE";
done;

0 comments on commit 3dddddb

Please sign in to comment.