Skip to content

Fixed AirbrakeAppender for Grails 3.1.4 > *#44

Open
MarcAtRiflmedia wants to merge 1 commit intocoderberry:grails-3.0from
MarcAtRiflmedia:grails-3.1.4
Open

Fixed AirbrakeAppender for Grails 3.1.4 > *#44
MarcAtRiflmedia wants to merge 1 commit intocoderberry:grails-3.0from
MarcAtRiflmedia:grails-3.1.4

Conversation

@MarcAtRiflmedia
Copy link

No description provided.

class AirbrakeStackTraceFilterer extends DefaultStackTraceFilterer{


private static final String[] DEFAULT_INTERNAL_PACKAGES = [
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where did this list come from?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It comes from the original org.grails.exceptions.reporting.DefaultStackTraceFilterer.
This list + packagesToFilter arraylist can probably be removed here.

@jonspalmer
Copy link
Collaborator

I like it and we should figure out how to merge it. A few comments on the diffs that would be good to understand. Also can we squash the commits? There is a lot of churn and its hard to review what the final set of changes looks like. Lastly is there a reason to require Grails 3.1.4? Can we just be 3.x?

@MarcAtRiflmedia
Copy link
Author

You can do whatever you want. No problem.
It's close to your grails-3.0 branch. The main changes are in doWithApplicationContext in AirbrakeGrailsPlugin class, in append function of AirbrakeAppender class.

I have not tested with versions below 3.1.4 but i guess it could work with any 3.1.x or 3.x... Need to try.

@jonspalmer
Copy link
Collaborator

Can you please do the interactive rebase to squash all the commits and then force push the single commit? Github does the right thing in that situation.

@MarcAtRiflmedia
Copy link
Author

I guess that's done now.

## Release Notes

* 1.0.2 - 2016/04/11
* Fix AirbrakeAppender for Grails 3.1.4.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need to minor releases?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess not necessarily

}
title = "Airbrake-3.1"
desc = "Grails Airbrake plugin compatible with version 3.1.4 > *"
developers = [marcatriflmedia:"Marc-Emmanuel Ramage"]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The publish config can be removed/replaced... It was for my own usage only.

@jonspalmer
Copy link
Collaborator

Have we removed the old Grails 2.x code too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments