Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CHEF
cookbooks
fai
Commits
0b2eb31d
Commit
0b2eb31d
authored
Mar 21, 2016
by
Christopher Huhn
Browse files
Catch generic StandardError
parent
0b4b9fb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/default/fai_sources.list.erb
View file @
0b2eb31d
...
...
@@ -16,7 +16,7 @@ deb <%= @debmirror_url %>-security <%= @codename %>/updates main contrib no
deb-src
<%=
@debmirror_url
%>
-security
<%=
@codename
%>
/updates main contrib non-free
<%-
end
rescue
Timeout
::
Error
=>
e
rescue
Standard
Error
=>
e
Chef
::
Log
.
warn
"Cannot connect to
#{
uri
}
:
#{
e
}
"
end
-%>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment