#177 open
Jeremy Lightsmith

Plugin error handling

Reported by Jeremy Lightsmith | April 21st, 2008 @ 01:49 PM

Paul Rogers (of Watir fame) sent me the error log below. This looks like some sort of email configuration issue to me, but there are a couple of issues here that we should look at: 1. Why doesn't the stack trace go all the way into ActionMailer code (looks like we re-raise the error and loose the original trace). 2. That it says "Build FAILED". A plugin error should not fail the build. It should be logged, and (a 1.1 story) be reflected in the builder state / made visible on dashboard. Processing ProjectsController#index (for 127.0.0.1 at 2007-02-26 16:50:11) [GET] Session ID: 9d7008e700fd382468358139d0b8d3e9 Parameters: {"format"=>"js", "action"=>"index", "controller"=>"projects"} Rendering projects/index.rjs Completed in 1.08000 (0 reqs/sec) | Rendering: 1.08000 (100%) | 200 OK [http://localhost/projects.js] 127.0.0.1 - [Mon, 26 Feb 2007 23:50:16 GMT] "GET /projects.js HTTP/1.1" -> "220 mail.NETeller.ca SMTP Mail Server, Version Not Displayed Mon, 26 Feb 2007 16:48:57 -0700 \r\n" "250-mail.NETeller.ca Hello [10.6.64.138]\r\n" -> "250-TURN\r\n" -> "250-SIZE\r\n" -> "250-ETRN\r\n" -> "250-DSN\r\n" -> "250-ENHANCEDSTATUSCODES\r\n" -> "250-8bitmime\r\n" -> "250-BINARYMIME\r\n" -> "250-CHUNKING\r\n" -> "250-VRFY\r\n" -> "250-X-EXPS GSSAPI NTLM LOGIN\r\n" -> "250-X-EXPS=LOGIN\r\n" -> "250-AUTH GSSAPI NTLM LOGIN\r\n" -> "250-AUTH=LOGIN\r\n" -> "250-X-LINK2STATE\r\n" -> "250-XEXCH50\r\n" -> "250 OK\r\n" "554 5.7.3 Unable to initialize security subsystem\r\n" [error] 554 5.7.3 Unable to initialize security subsystem Build 30481 FAILED [error] wrong number of arguments (1 for 0) Build loop failed RuntimeError: Plugin error: EmailNotifier: 554 5.7.3 Unable to initialize security subsystem ./script/../config/../app/models/project.rb:237:in `notify' ./script/../config/../app/models/project.rb:205:in `build' ./script/../config/../app/models/project.rb:137:in `build_if_necessary' ./script/../config/../app/models/polling_scheduler.rb:13:in `run' ./script/builder:75 cruise:13:in `builder' cruise:65 s.js]

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Tags

Pages