diff --git a/src/Microdown-Tests/MicFileResourceReferenceTest.class.st b/src/Microdown-Tests/MicFileResourceReferenceTest.class.st index a58b5c41..147aacb8 100644 --- a/src/Microdown-Tests/MicFileResourceReferenceTest.class.st +++ b/src/Microdown-Tests/MicFileResourceReferenceTest.class.st @@ -277,7 +277,7 @@ MicFileResourceReferenceTest >> testLoadNotFoundMicrodown [ ref loadMicrodown. self fail ] on: Error do: [ :e | - self assert: e messageText equals: 'Microdown file not found' ] + self assert: e messageText equals: 'The Microdown file at "/readme.md" is not found' ] ] { #category : 'tests' } diff --git a/src/Microdown/MicFileResourceReference.class.st b/src/Microdown/MicFileResourceReference.class.st index ad2a8504..e26acd65 100644 --- a/src/Microdown/MicFileResourceReference.class.st +++ b/src/Microdown/MicFileResourceReference.class.st @@ -63,7 +63,7 @@ MicFileResourceReference >> contents [ [^ self fileReference isDirectory ifTrue: [''] ifFalse: [self fileReference contents] ] on: FileDoesNotExistException do: [ :error | - error resignalAs: (MicResourceReferenceError new messageText: 'Microdown file not found') ] + error resignalAs: (MicResourceReferenceError new messageText: 'The Microdown file at "', self fullName , '" is not found') ] ] { #category : 'accessing' }