Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
b4baeb2a
Commit
b4baeb2a
authored
Sep 22, 2010
by
Frédéric Buclin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 598147: Can't call method "isa" without a package or object reference
r/a=mkanat
parent
a628b7c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
email_in.pl
email_in.pl
+3
-1
No files found.
email_in.pl
View file @
b4baeb2a
...
...
@@ -42,6 +42,7 @@ use Email::MIME::Attachment::Stripper;
use
Getopt::
Long
qw(:config bundling)
;
use
Pod::
Usage
;
use
Encode
;
use
Scalar::
Util
qw(blessed)
;
use
Bugzilla
;
use
Bugzilla::
Attachment
;
...
...
@@ -352,7 +353,8 @@ sub die_handler {
# In Template-Toolkit, [% RETURN %] is implemented as a call to "die".
# But of course, we really don't want to actually *die* just because
# the user-error or code-error template ended. So we don't really die.
return
if
$msg
->
isa
(
'Template::Exception'
)
&&
$msg
->
type
eq
'return'
;
return
if
blessed
(
$msg
)
&&
$msg
->
isa
(
'Template::Exception'
)
&&
$msg
->
type
eq
'return'
;
# If this is inside an eval, then we should just act like...we're
# in an eval (instead of printing the error and exiting).
...
...
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