Skip to content

Commit 9811787

Browse files
committed
Merge pull request #208 from janv8000/master
Improved debugging
2 parents 6fedcee + bd1d999 commit 9811787

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NHibernate/Linq/Visitors/HqlGeneratorExpressionTreeVisitor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ protected HqlTreeNode VisitExpression(Expression expression)
139139
// return VisitNhNew((NhNewExpression)expression);
140140
}
141141

142-
throw new NotSupportedException(expression.GetType().Name);
142+
throw new NotSupportedException(expression.ToString());
143143
}
144144
}
145145

0 commit comments

Comments
 (0)