Fix backtrace filtering for producer own code
Using /producer-\w+ as pattern is incorrect, we have no guarantee that the canonical repository or gem name will be included in the install path. Just use /producer pattern to match lib files or executables.
This commit is contained in:
1 parent
c9971d7ca0
commit
dbe7fea204
3 files changed
+5
-5
No files matched your search
@@ -2,7 +2,7 @@ module Producer
|
||||
module Core
|
||||
class ErrorFormatter
|
||||
FILTERS = [
|
||||
/\/producer-\w+/,
|
||||
/\/producer/,
|
||||
Regexp.new(RbConfig::CONFIG['rubylibdir']),
|
||||
/\/net-ssh/,
|
||||
/\/net-sftp/
|
||||
|
||||
Reference in new issue
Block a user