mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Print exception via console.warn().
This commit is contained in:
@@ -55,7 +55,7 @@ class GitRepositoryProvider
|
||||
try
|
||||
@repositoryForDirectorySyncInternal(directory)
|
||||
catch e
|
||||
# TODO: Log error.
|
||||
console.warn "Error checking for Git repository for '#{directory.getPath()}'", e.stack
|
||||
null
|
||||
|
||||
repositoryForDirectorySyncInternal: (directory) ->
|
||||
|
||||
Reference in New Issue
Block a user