pinakes-core: fix subtitle i32 overflow in postgres
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I3b43f97c96905953fd58f051667c59096a6a6964
This commit is contained in:
parent
60452dcb5a
commit
6d68a83003
4 changed files with 33 additions and 8 deletions
|
|
@ -28,9 +28,10 @@ impl TempFileGuard {
|
|||
impl Drop for TempFileGuard {
|
||||
fn drop(&mut self) {
|
||||
if self.0.exists()
|
||||
&& let Err(e) = std::fs::remove_file(&self.0) {
|
||||
warn!("failed to clean up temp file {}: {e}", self.0.display());
|
||||
}
|
||||
&& let Err(e) = std::fs::remove_file(&self.0)
|
||||
{
|
||||
warn!("failed to clean up temp file {}: {e}", self.0.display());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue