forked from Qortal/qortal
Reduced log spam when a file can't be served.
This commit is contained in:
parent
2850bd0b46
commit
d6746362a4
@ -125,7 +125,7 @@ public class ArbitraryDataRenderer {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
LOGGER.info("Unable to serve file at path: {}", inPath, e);
|
LOGGER.info("Unable to serve file at path: {}", inPath, e.getMessage());
|
||||||
}
|
}
|
||||||
|
|
||||||
return ArbitraryDataRenderer.getResponse(response, 404, "Error 404: File Not Found");
|
return ArbitraryDataRenderer.getResponse(response, 404, "Error 404: File Not Found");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user