1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-06-07 13:47:45 +00:00

Log the exception when failing to a load a shader from SHPK

This commit is contained in:
Joshua Goins 2025-06-02 19:51:23 -04:00
parent 1516db591f
commit c6de850457

View file

@ -51,8 +51,7 @@ void SHPKPart::load(physis_Buffer buffer)
pageTabWidget->addTab(shaderTextEdit, name); pageTabWidget->addTab(shaderTextEdit, name);
} catch (const std::exception &exception) { } catch (const std::exception &exception) {
// TODO: display the error qWarning() << "Failed to load shader:" << exception.what();
Q_UNUSED(exception)
} }
}; };