You are not returning anything from the thunk, therefore the thunk is considered as fulfilled.
You should return rejectWithValue(e.message)
in your catch block.
} catch (e) {
errorMessage = `Log from catch block: ${e.message}`;
return rejectWithValue(e.message);
}