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
0
Merge Requests
0
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
Tatuya Kamada
gitlab-ce
Commits
5f98fdcd
Commit
5f98fdcd
authored
Apr 18, 2016
by
Jacob Schatz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add sentry logger to GitLab
parent
58665b64
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
+7
-0
app/assets/javascripts/application.js.coffee
app/assets/javascripts/application.js.coffee
+3
-0
lib/gitlab/gon_helper.rb
lib/gitlab/gon_helper.rb
+1
-0
vendor/assets/javascripts/raven.min.js
vendor/assets/javascripts/raven.min.js
+3
-0
No files found.
app/assets/javascripts/application.js.coffee
View file @
5f98fdcd
...
...
@@ -295,3 +295,6 @@ $ ->
checkInitialSidebarSize
()
new
Aside
()
if
gon
.
sentry_dsn
?
Raven
.
config
(
'your public dsn'
).
install
()
\ No newline at end of file
lib/gitlab/gon_helper.rb
View file @
5f98fdcd
...
...
@@ -7,6 +7,7 @@ module Gitlab
gon
.
max_file_size
=
current_application_settings
.
max_attachment_size
gon
.
relative_url_root
=
Gitlab
.
config
.
gitlab
.
relative_url_root
gon
.
user_color_scheme
=
Gitlab
::
ColorSchemes
.
for_user
(
current_user
).
css_class
gon
.
sentry_dsn
=
ApplicationSetting
.
current
.
sentry_dsn
if
current_user
gon
.
current_user_id
=
current_user
.
id
...
...
vendor/assets/javascripts/raven.min.js
0 → 100644
View file @
5f98fdcd
This diff is collapsed.
Click to expand it.
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