]> git.proxmox.com Git - pve-http-server.git/commitdiff
improve error message
authorDietmar Maurer <dietmar@proxmox.com>
Mon, 16 Jan 2017 10:40:45 +0000 (11:40 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 16 Jan 2017 10:45:36 +0000 (11:45 +0100)
PVE/APIServer/AnyEvent.pm

index 0cf8cbcbc2d9f60abddb8c38324dcbc92482eab6..fbc500f55c3fe8ebaed1e0e00c6dc46d82386d5e 100755 (executable)
@@ -661,7 +661,7 @@ sub handle_api2_request {
        my $formatter = PVE::APIServer::Formatter::get_formatter($format, $method, $rel_uri);
 
        if (!defined($formatter)) {
-           $self->error($reqstate, HTTP_NOT_IMPLEMENTED, "no such uri $rel_uri, $format");
+           $self->error($reqstate, HTTP_NOT_IMPLEMENTED, "no formatter for uri $rel_uri, $format");
            return;
        }