Skip to content

Commit 216d750

Browse files
committed
Extend error message
1 parent a1caa74 commit 216d750

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/paperoption.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ final function test_exists(PaperInfo $prow, $use_script_expression = false) {
568568
} else if ($this->_exists_state !== 0) {
569569
return $this->_exists_state > 0;
570570
} else if (++$this->_recursion > 5) {
571-
throw new ErrorException("Recursion in {$this->name}::test_exists");
571+
throw new ErrorException("Recursion in {$this->name}::test_exists [{$this->exists_if}]");
572572
} else {
573573
if ($use_script_expression) {
574574
$x = !!($this->exists_script_expression($prow) ?? true);

0 commit comments

Comments
 (0)