Avoid backtrace display on domain conflict.

fix #591