You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no way to tell if a Cro server instance can't start due to an error. Taking an example from the documentation and changing the port so that it'd fail under a non-root account would be a good example:
my $application = route {
get -> {
content 'text/html', '<strong>Hello, world!</strong>';
}
}
my Cro::Service $hello-service = Cro::HTTP::Server.new(
:host('localhost'), :port(80), :$application
);
$hello-service.start;
It ends up with LTA message:
permission denied
And I can't even locate where exactly the message is printed.
The text was updated successfully, but these errors were encountered:
There is no way to tell if a Cro server instance can't
start
due to an error. Taking an example from the documentation and changing the port so that it'd fail under a non-root account would be a good example:It ends up with LTA message:
And I can't even locate where exactly the message is printed.
The text was updated successfully, but these errors were encountered: