fix #SPOI-2162 DFS error message
Merge pull request #836 from nickholub/q5

fix #SPOI-2162 DFS error message