Merge branch 'patch-log-error-filename' into 'stable-3.1'

Add filename in the error to see what is being opened

See merge request !861
1 job for stable-3.1 in 2 minutes and 26 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Syntax
passed #378
syntax:lint

00:02:26