Skip to content

Conversation

nielsm5
Copy link
Member

@nielsm5 nielsm5 commented May 24, 2025

No description provided.

Copy link

@nielsm5 nielsm5 requested review from tnleeuw and evandongen May 25, 2025 18:47
@@ -92,6 +92,9 @@ public Object executeFunction(String name, Object... parameters) throws Javascri
}
return result;
} catch (Exception e) {
if ("undefined:0: TypeError: undefined is not a function".equals(e.getMessage())) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Dat eerste stukje voor TypeError lijkt dynamisch, zeker weten?

Copy link
Member Author

Choose a reason for hiding this comment

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

Ik denk het wel 😄

Object result = engine.executeFunction("test");
assertEquals("Hello World!", result.toString());
engine.closeRuntime();
}

// This test doesn't do much at the moment... We cannot capture the log output (yet).
Copy link
Contributor

Choose a reason for hiding this comment

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

Klopt dit statement nog? Je had toch een LogHandler toegevoegd?

Copy link
Member Author

Choose a reason for hiding this comment

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

Ja, maar de truffel logger is erg raar, heb hier 2uur in gestoken en was niets opgeschoten. In theorie zou alles moeten werken, er is een logger, maar ik krijg nooit log output...

@nielsm5 nielsm5 merged commit a5ca2c7 into master May 26, 2025
35 checks passed
@nielsm5 nielsm5 deleted the task/fix-javascript-arguments branch May 26, 2025 07:49
nielsm5 added a commit that referenced this pull request May 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants