Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#80: Integrate sentry plugin for better exception logging #99

Merged
merged 4 commits into from
Sep 14, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ jdk:
before_install:
- sudo add-apt-repository -y ppa:groovy-dev/grails
- sudo apt-get update
- sudo apt-get install grails-1.3.7
- sudo apt-get install grails-1.3.9

script: "grails test-app unit: --non-interactive"
2 changes: 1 addition & 1 deletion application.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#Grails Metadata file
#Fri Aug 14 12:16:18 CDT 2015
#Mon Aug 31 12:18:51 CDT 2015
app.buildDate=02 Feb 2012 11\:17\:30 PM
app.buildNumber=1
app.context=/openboxes
Expand Down
9 changes: 4 additions & 5 deletions grails-app/conf/BuildConfig.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,11 @@ grails.project.dependency.resolution = {

}
plugins {
compile ":rendering:0.4.4"

runtime( ':constraints:0.6.0' )
compile ":rendering:0.4.4"
compile ":raven:0.5.8"

runtime( ':constraints:0.6.0' )
runtime( ':jquery-validation:1.9' ) { // 1.7.3
excludes 'constraints'
}
Expand All @@ -91,9 +93,6 @@ grails.project.dependency.resolution = {
we've included our own build of it.
test(name:'spock', version:'0.6')
*/



//runtime(":liquibase:1.9.3.6") { excludes 'data-source' }
runtime(':mail:1.0.6') { excludes 'mail', 'spring-test' }
runtime(':excel-import:0.3') { excludes 'poi-contrib', 'poi-scratchpad' }
Expand Down
10 changes: 7 additions & 3 deletions grails-app/conf/Config.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,6 @@ log4j = {
root {
error 'stdout', 'smtp'
additivity = false
//error 'smtp'
//info 'stdout'
//additivity: false
}


Expand Down Expand Up @@ -324,6 +321,7 @@ log4j = {
'grails.plugin.rendering',
'org.apache.commons.mail',
'grails.plugins.raven',
'net.kencochrane.raven',
//'com.unboundid'
//'org.hibernate.transaction',
//'org.jumpmind',
Expand Down Expand Up @@ -419,6 +417,12 @@ jqueryValidationUi {
}


// Grails Sentry/Raven plugin
// NOTE: You'll need to enable the plugin and set a DSN using an external config properties file
// (namely, openboxes-config.properties or openboxes-config.groovy)
grails.plugins.raven.active = false
grails.plugin.raven.dsn = "https://{PUBLIC_KEY}:{SECRET_KEY}@app.getsentry.com/{PROJECT_ID}"

// Google analytics and feedback have been removed until I can improve performance.
//google.analytics.enabled = false
//google.analytics.webPropertyID = "UA-xxxxxx-x"
Expand Down