1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-06-06 13:17:46 +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);
} catch (const std::exception &exception) {
// TODO: display the error
Q_UNUSED(exception)
qWarning() << "Failed to load shader:" << exception.what();
}
};
@ -65,4 +64,4 @@ void SHPKPart::load(physis_Buffer buffer)
}
}
#include "moc_shpkpart.cpp"
#include "moc_shpkpart.cpp"