-
Notifications
You must be signed in to change notification settings - Fork 37
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
refine sentry ignore #884
refine sentry ignore #884
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #884 +/- ##
=======================================
Coverage 93.97% 93.97%
=======================================
Files 41 41
Lines 6275 6278 +3
=======================================
+ Hits 5897 5900 +3
Misses 378 378
|
.env_ows_root
Outdated
DATACUBE_OWS_CFG=ows_refactored.ows_root_cfg.ows_cfg | ||
SENTRY_DSN=https://[email protected]/2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where does https://[email protected]/2
get set up?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a placeholder, i've decided to set it empty
class LGEOS380: | ||
x = 5 | ||
class LGEOS380(): | ||
def __init__(self, a=5): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you just want an empty class, you don't need an __init__
. Could just do something like
class LGEOS380:
pass
Fixes: #869
captured error message: "'LGEOS380' object has no attribute 'GEOSGeom_destroy'"
add SENTRY_DSN to
.env
fix the test case to reflect the correct reported error
GEOSGEOM_destroy
https://github.com/shapely/shapely/blob/f02c4c72d29862ade0708ce777d0316fbba44fef/shapely/geos.py#L633
https://github.com/shapely/shapely/blob/f02c4c72d29862ade0708ce777d0316fbba44fef/shapely/geos.py#L766
https://github.com/shapely/shapely/blob/f02c4c72d29862ade0708ce777d0316fbba44fef/shapely/geos.py#L778
https://github.com/shapely/shapely/blob/f02c4c72d29862ade0708ce777d0316fbba44fef/shapely/geos.py#L790
https://github.com/shapely/shapely/blob/f02c4c72d29862ade0708ce777d0316fbba44fef/shapely/geos.py#L801