Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl-hive
Commits
a5d2bf2f
Commit
a5d2bf2f
authored
Aug 18, 2016
by
Matthieu Muffato
Browse files
These two errors deserve different error messages
parent
966f9b31
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
modules/Bio/EnsEMBL/Hive/Params.pm
modules/Bio/EnsEMBL/Hive/Params.pm
+6
-1
No files found.
modules/Bio/EnsEMBL/Hive/Params.pm
View file @
a5d2bf2f
...
...
@@ -110,7 +110,12 @@ sub param_init {
if
(
ref
(
$source
)
ne
'
HASH
')
{
if
(
$strict_hash_format
or
$source
=~
/^\{.*\}$/
)
{
my
$param_hash
=
eval
(
$source
)
||
{};
if
(
$@
or
(
ref
(
$param_hash
)
ne
'
HASH
'))
{
if
(
$@
)
{
if
(
$self
->
can
('
transient_error
'))
{
$self
->
transient_error
(
0
);
}
die
"
Could not evaluate '
$source
': $@
\n
";
}
elsif
(
ref
(
$param_hash
)
ne
'
HASH
')
{
if
(
$self
->
can
('
transient_error
'))
{
$self
->
transient_error
(
0
);
}
...
...
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