Commit 7c459cc0 authored by Andreas Kusalananda Kähäri's avatar Andreas Kusalananda Kähäri
Browse files

Be more verbose in error messages in transcript().

parent 567db8a3
......@@ -151,12 +151,14 @@ sub transcript {
} elsif ( !defined( $self->{'transcript'} ) ) {
my $adaptor = $self->{'adaptor'};
if ( !defined($adaptor) ) {
throw("Adaptor is not set.");
throw( "Adaptor is not set for translation, "
. "can not fecth its transcript." );
}
my $dbID = $self->{'dbID'};
if ( !defined($dbID) ) {
throw("dbID is not set.");
throw( "dbID is not set for translation, "
. " can not fetch its transcript." );
}
$self->{'transcript'} =
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment