Skip to content

Commit 700d4a0

Browse files
committed
Fixed error messgae for mojo
1 parent bf1058e commit 700d4a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_programming/weather/weather_info_mojo.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ sub get_data {
3535
return $response->body;
3636
}
3737
else {
38-
croak $response->status_line;
38+
croak $response->message;
3939
}
4040
}
4141

0 commit comments

Comments
 (0)