investigating a possible bug...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-08-13 02:24:51 +03:00
parent 2af5afae01
commit e23fefa0c5

View File

@ -355,6 +355,17 @@ var FileSystemLoaderActions = actions.Actions({
logger && logger.emit('load index', index) logger && logger.emit('load index', index)
// XXX BUG?: some times we reach this point with index
// equaling null
// ...we are not fixing this here as the cause of
// this issue is likely someplace else and that
// needs investigating...
// XXX REMOVE WHEN ISSUE FIXED...
!index
&& console.error('Failed to load index from:', paths)
// prepare the location data... // prepare the location data...
index.location = { index.location = {
path: path, path: path,