Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
a6ecb170
Commit
a6ecb170
authored
Oct 04, 2019
by
Diego Louzán
Committed by
Robert Speicher
Oct 04, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: enable logging of mail delivery errors in development
parent
23d800f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
config/environments/development.rb
config/environments/development.rb
+2
-3
No files found.
config/environments/development.rb
View file @
a6ecb170
...
...
@@ -11,9 +11,6 @@ Rails.application.configure do
config
.
consider_all_requests_local
=
true
config
.
action_controller
.
perform_caching
=
false
# Don't care if the mailer can't send
config
.
action_mailer
.
raise_delivery_errors
=
false
# Print deprecation notices to the Rails logger
config
.
active_support
.
deprecation
=
:log
...
...
@@ -38,6 +35,8 @@ Rails.application.configure do
config
.
action_mailer
.
default_url_options
=
{
host:
'localhost'
,
port:
3000
}
# Open sent mails in browser
config
.
action_mailer
.
delivery_method
=
:letter_opener_web
# Log mail delivery errors
config
.
action_mailer
.
raise_delivery_errors
=
true
# Don't make a mess when bootstrapping a development environment
config
.
action_mailer
.
perform_deliveries
=
(
ENV
[
'BOOTSTRAP'
]
!=
'1'
)
config
.
action_mailer
.
preview_path
=
'app/mailers/previews'
...
...
Write
Preview
Markdown
is supported
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