Skip to content

Commit aa86adc

Browse files
committed
fix FFI startup log message
thanks ganicus see #201
1 parent d11e3e2 commit aa86adc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/FFI.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,10 @@ private static function init(): void
253253
EOS, $path . $vips_libname);
254254
break;
255255
} catch (\FFI\Exception $e) {
256-
Utils::debugLog("init", ["msg" => "library load failed", "exception" => $e]);
256+
Utils::debugLog("init", [
257+
"msg" => "library load failed",
258+
"exception" => $e->getMessage()
259+
]);
257260
}
258261
}
259262

0 commit comments

Comments
 (0)