Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(isf-audio): proper error handling that actually works #3

Open
wants to merge 4 commits into
base: feat-ISFAudio/webpack
Choose a base branch
from

Conversation

TimPietrusky
Copy link
Member

No description provided.

@TimPietrusky TimPietrusky changed the title Feat/isf audio refactor(isf-audio): proper error handling that actually works Nov 10, 2021
@@ -55,9 +55,8 @@ ISFGLProgram.prototype.createShader = function createShader(src, type) {
const compiled = this.gl.getShaderParameter(shader, this.gl.COMPILE_STATUS);
if (!compiled) {
const lastError = this.gl.getShaderInfoLog(shader);
throw new Error({
message: lastError,
type: "shader",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@TimPietrusky Why do we not need a type here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants