Skip to content

Error Handling when adding to known host fails #13

@thomas-barthelemy

Description

@thomas-barthelemy

For Redmine 2.6, Ruby 2.0.0, Ubuntu 12.04

Completed 500 Internal Server Error in 17.4ms

NameError (undefined local variable or method `e' for #<Class:0x007f903f5245a0>):
  app/controllers/repositories_controller.rb:55:in `create'

The undefined is in git_remote.rb, line 168

rescue e

Could be replaced by

rescue Exception => e

I'd be happy to PR that later this week =)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions