Hi, I’ve been getting errors out the prewarming function and am wondering if I am doing something wrong…not even sure if this is something that I need to worry about at this point but some anecdotal evidence tells me some of my functions may not being getting prewarmed.
Before digging too deep, I was wondering if @tung or anyone else in here may have a quick answer for me.
Any insights would be greatly appreciated. I’ve pasted in what I’m seeing in the Sentry report as well as the logs from Cloudwatch for the corresponding Sentry entry.
Here is what is geting sent off to Sentry.
from jets/commands/call.rb:88:in `exit'
from jets/commands/call.rb:88:in `ensure_guesses_found!'
from jets/commands/call.rb:21:in `function_name'
from jets/commands/call.rb:51:in `remote_run'
from jets/commands/call.rb:29:in `run'
from jets/preheat.rb:26:in `warm'
from jets/preheat.rb:36:in `block (2 levels) in warm_all'
Here is what shows up in Cloudwatch.
Calling lambda function projectx-dev-alerts_controller-current_user on AWS
Function name: projectx-dev-alerts_controller-current_user
Calling lambda function projectx-dev-alert_dangers_controller-current_user on AWS
Function name: projectx-dev-alert_dangers_controller-current_user
Unable to find the function to call.
Tried: AlertDangersNotesController, Alert::DangersNotesController, Alert::Dangers::NotesController, Alert::Dangers::Notes::Controller
Unable to find the function to call.
Tried: AlertRemindersNotesController, Alert::RemindersNotesController, Alert::Reminders::NotesController, Alert::Reminders::Notes::Controller
Calling lambda function projectx-dev-alerts_controller-past on AWS
Function name: projectx-dev-alerts_controller-past
Calling lambda function projectx-dev-alerts_controller-dashboard on AWS
Function name: projectx-dev-alerts_controller-dashboard
Critical exception from handler
{
"errorMessage": "exit",
"errorType": "Function<SystemExit>",
"stackTrace": [
"/opt/ruby/gems/2.5.0/gems/jets-1.9.21/lib/jets/commands/call.rb:88:in `exit'",
"/opt/ruby/gems/2.5.0/gems/jets-1.9.21/lib/jets/commands/call.rb:88:in `ensure_guesses_found!'",
"/opt/ruby/gems/2.5.0/gems/jets-1.9.21/lib/jets/commands/call.rb:21:in `function_name'",
"/opt/ruby/gems/2.5.0/gems/jets-1.9.21/lib/jets/commands/call.rb:51:in `remote_run'",
"/opt/ruby/gems/2.5.0/gems/jets-1.9.21/lib/jets/commands/call.rb:29:in `run'",
"/opt/ruby/gems/2.5.0/gems/jets-1.9.21/lib/jets/preheat.rb:26:in `warm'",
"/opt/ruby/gems/2.5.0/gems/jets-1.9.21/lib/jets/preheat.rb:36:in `block (2 levels) in warm_all'"
]
}
Unable to find the function to call.
Tried: AssessmentScoresPrioritiesController, Assessment::ScoresPrioritiesController, Assessment::Scores::PrioritiesController, Assessment::Scores::Priorities::Controller
Calling lambda function projectx-dev-alert_dangers_controller-resolve on AWS
Function name: projectx-dev-alert_dangers_controller-resolve
Unable to find the function to call.
Tried: AlertRemindersNotesController, Alert::RemindersNotesController, Alert::Reminders::NotesController, Alert::Reminders::Notes::Controller
Calling lambda function projectx-dev-alerts_controller-active on AWS
Function name: projectx-dev-alerts_controller-active
Unable to find the function to call.
END RequestId: 54bbb6d0-2df8-4e7c-9620-37cc5ae68c46
REPORT RequestId: 54bbb6d0-2df8-4e7c-9620-37cc5ae68c46 Duration: 210.83 ms Billed Duration: 300 ms Memory Size: 1024 MB Max Memory Used: 132 MB
RequestId: 54bbb6d0-2df8-4e7c-9620-37cc5ae68c46 Error: Runtime exited without providing a reason
Runtime.ExitError