arabold/serverless-sentry-plugin

setRelease is never called

Closed this issue · 0 comments

Hi,

when we execute serverless deploy --package, function setRelease is never called, then cause an error at the end of the deploy

Serverless: Sentry: Creating new release "true"...
Serverless: Sentry: Deploying release "true"...
Serverless: Sentry: Received error response from Sentry:
{"detail": "The requested resource does not exist"}

because release true option in serverless.yml is never set.

It's a problem with --package option (skip packaging step) then don't call hooks after:package:init.
Thanks